package com.tsing.cloud.controller;

import com.tsing.cloud.service.PaymentService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author TheTsing
 * @version 1.0
 * @date 2021/11/8 15:01
 */
@RestController
public class PaymentController {

    @Resource
    private PaymentService paymentService;

    @GetMapping("/timeout")
    public String timeout() {
        return paymentService.paymentInfo_TimeOut();
    }

}
